const joi = require('joi')

class user_schema{
	//登录验证 /login
	static loginSchema = {
		userName: joi.string().min(2).max(12).required(),
		passWord: joi.string().pattern(/^[\S]{3,15}$/).required(),
	}
}

module.exports = user_schema